// 路由注册
const routes = [
    // 首页
    {
        path: '/',
        alias: '/home',
        name: 'Home',
        component: () => import('@/pages/Index.vue')
    },
    // 登录
    {
        path: '/login',
        name: 'Login',
        component: () => import('@/pages/Login.vue'),
        meta: {
            requiresAuth: false
        }
    }
]

export default routes